package com.ys.service.sys;

import com.ys.dto.DtreeSqlDto;
import com.ys.dto.YsTreeDto;
import com.ys.entity.sys.TsOperateOrg;
import com.ys.vo.R;

import java.util.List;

public interface TsOperateOrgService {
	
	R add(Long pid, String name);
	
	R edit(Long id, String name, String headVgsbm, int status);

	DtreeSqlDto dtree();

	//根据id获取其底下所有的机构信息
	List<TsOperateOrg> getAllChildrenById(Long id) throws Exception;

	YsTreeDto ysTree();

}